function formateTime(time) {
    return time.getFullYear() + '年' + (time.getMonth()+1 < 10 ? `0${time.getMonth()+1}`: time.getMonth()+1) + '月' + (time.getDate()< 10 ? `0${time.getDate()}`: time.getDate()) + '日'
}

module.exports = {
    formateTime
}